package com.dynamixsoftware.printershare.smb;

import com.dynamixsoftware.printershare.smb.util.Dumper;

public class SmbShareInfo
  implements FileEntry
{
  protected String netName;
  protected String remark;
  protected int type;
  
  public long createTime()
  {
    return 0L;
  }
  
  public boolean equals(Object paramObject)
  {
    if ((paramObject instanceof SmbShareInfo))
    {
      SmbShareInfo localSmbShareInfo = (SmbShareInfo)paramObject;
      return this.netName.equals(localSmbShareInfo.netName);
    }
    return false;
  }
  
  public int getAttributes()
  {
    return 17;
  }
  
  public String getName()
  {
    return this.netName;
  }
  
  public int getType()
  {
    switch (0xFFFF & this.type)
    {
    case 2: 
    default: 
      return 8;
    case 1: 
      return 32;
    }
    return 16;
  }
  
  public int hashCode()
  {
    return this.netName.hashCode();
  }
  
  public long lastModified()
  {
    return 0L;
  }
  
  public long length()
  {
    return 0L;
  }
  
  public String toString()
  {
    return new String("SmbShareInfo[netName=" + this.netName + ",type=0x" + Dumper.toHexString(this.type, 8) + ",remark=" + this.remark + "]");
  }
}


/* Location:           C:\Users\Admin\Desktop\Decompiler\JAD\jd-gui-0.3.6.windows\classes_dex2jar.jar
 * Qualified Name:     com.dynamixsoftware.printershare.smb.SmbShareInfo
 * JD-Core Version:    0.7.0.1
 */